﻿@model GuessBall.Models.Result
@{
    ViewBag.Title = "猜球结果";
}

<table background="@Url.Content("~/Content/images/back.jpg")" width="584" height="285" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="125" height="88">&nbsp;</td>
    <td colspan="3">
    @if (Model.isCorrect == true)
    {
        <text>恭喜你！猜对了！<img align=middle src="@Url.Content("~/Content/images/s.jpg")" /></text>
    }
    else
    {
        <text>猜错了！继续努力哦！<img align=middle src="@Url.Content("~/Content/images/f.jpg")" /></text>
    }
    </td>
    <td width="126">&nbsp;</td>
  </tr>
  <tr>
    <td height="108">&nbsp;</td>
    @for (int i = 1; i <= 3; i++)
    {
        if (i == Model.correctIndex)
        {
            <td height="108" valign="bottom" width="111"><img src="@Url.Content("~/Content/images/k.jpg")" /></td>
        }
        else
        {
            <td height="108" valign="bottom" width="111"><img src="@Url.Content("~/Content/images/b.jpg")" /></td>
        }
            
    }
    <td height="108">&nbsp;</td>
  </tr>
  <tr>
    <td height="89">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
